home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Info-Mac 4
/
Info_Mac IV CD-ROM (Pacific HiTech Inc.)(August 1994).iso
/
Science
/
RLaB
/
toolbox
/
angle.r
next >
Wrap
Text File
|
1994-04-25
|
139b
|
10 lines
//
// Caclulate phase angle of a complex value.
// angle = atan2(imag,real)
//
angle = function(a)
{
return atan2(imag(a), real(a));
};